/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = frstat_system.h                                    */
/*  NOTE      =                                                    */
/*  DATE      = 2015/01/14 by guojq                                */
/*******************************************************************/
#ifndef __FRSTAT_SYSTEM_H_
#define __FRSTAT_SYSTEM_H_

void frstat_system_add(int i_packages, int i_bytes, int i_conns, int i_drops);

int frstat_system_module_conn_add(int i_l7_proto, int i_syn, int i_established
                                , int i_disconnect, int i_destroy);
int frstat_system_module_inactive_add(int i_l7_proto, int i_inactive_cnt);
int frstat_system_module_session_add(int i_l7_proto, unsigned int ui_login, unsigned int ui_logout);

void frstat_system_count(void);
void frstat_system_output(char **pp_result);

void frstat_system_init(int i_time_out);
void frstat_system_destroy(void);

#endif
